<script setup lang="ts">
import { onMounted, ref } from "vue";
import { ImageViewer } from "./index.js";

// const show_dialog = ref<Boolean>(false)

const activeIndex = ref(1);

const handleClick = () => {
  ImageViewer({
    activeIndex: activeIndex.value,
    images: [
      "/ImageView/BHPY7.jpg",
      "/ImageView/BHPY5.jpg",
      "/ImageView/BHPY3.jpg",
      "/ImageView/BHPY4.jpg",
    ],
  });
};

onMounted(() => {});
</script>

<template>
  <AlexBtn @click="handleClick">按钮测试</AlexBtn>
</template>

<style lang="scss" scoped></style>
